import { Address, CreateDate, Entity, Uuid, Code, Boolean, PrimaryUuid, UpdateDate, Image } from '@sker/core';

@Entity({
    name: 'kd_shop_user'
})
export class KdShopUser{
    @PrimaryUuid()
    id: string;

    @Uuid()
    shop_id: string;

    @Uuid()
    user_id: string;

    @Uuid()
    agent_id: string;

    @Code()
    card_id: string;

    @Boolean()
    is_true: boolean;

    @Address()
    address: string;

    @Code()
    status: string;

    @Image({ comment: '身份证正面' })
    card_zheng: string;

    @Image({ comment: '身份证反面' })
    card_fan: string;

    @CreateDate()
    create_date: Date;

    @UpdateDate()
    update_date: Date;
}
